package com.itheima.polymorphsm3;

/**
 * @author jiangxun
 * @date 11-17-2024
 */
public class Tortoise extends Animal{
    String name = "乌龟";
    @Override
    public void eat() {
        System.out.println("乌龟在吃~~~");
    }
    public void run() {
        System.out.println("乌龟在跑~~~");
    }
}
